package com.ruoyi.statisticalCenter.mapper;

import com.ruoyi.statisticalCenter.domain.ScHqIncomeAndExpendCollect;
import com.ruoyi.statisticalCenter.domain.vo.ScHqIncomeAndExpendCollectExportVo;
import com.ruoyi.statisticalCenter.domain.vo.ScHqIncomeAndExpendCollectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ScHqIncomeAndExpendCollectMapper {
    List<ScHqIncomeAndExpendCollect> collect(ScHqIncomeAndExpendCollectVo vo);
    List<ScHqIncomeAndExpendCollect> collectExport(ScHqIncomeAndExpendCollectExportVo vo);

    /**
     * 根据传入日期，从hq_network_bill_detail表中
     *      取出明细数据添加到hq_income_and_expend_detail表中
     * @param date
     * @return
     */
    int insertHqIncomeAndExpendDetail(String date);
}
